#!/bin/bash

: > tmp;

for i in src/*.cpp
do
  class=${i%.cpp}
  echo    "${class}.o: ${class}.cpp "'$(HEADERS)' >> tmp
  echo -e "\t"'$(CC) $(CFLAGS) -c '${class}.cpp   >> tmp
  echo "" >> tmp

done